/* 响应式基础样式 */
html, body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fafbfc;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .el-button {
  min-height: 44px;
  min-width: 44px;
  font-size: 1rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  /* 手机端 */
  .exam-box, .el-card, .result-card, .login-card {
    width: 98vw !important;
    min-width: 0 !important;
    padding: 10px !important;
    font-size: 16px !important;
  }
  .exam-title, .main-title {
    font-size: 18px !important;
  }
  .option-item {
    font-size: 16px !important;
  }
  .el-button {
    font-size: 16px !important;
    min-width: 80px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* 平板端 */
  .exam-box, .el-card, .result-card, .login-card {
    width: 80vw !important;
    min-width: 0 !important;
    padding: 20px !important;
    font-size: 18px !important;
  }
  .exam-title, .main-title {
    font-size: 22px !important;
  }
  .option-item {
    font-size: 18px !important;
  }
}

@media (min-width: 1025px) {
  /* 桌面端 */
  .exam-box, .el-card, .result-card, .login-card {
    width: 400px;
    padding: 24px 32px 16px 32px;
    font-size: 20px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #181818;
    color: #eee;
  }
  .el-card, .result-card, .login-card {
    background: #232323 !important;
    color: #eee !important;
  }
} 